#!/bin/csh

#
# Create a BasicPhase2ModelProvider
#

source /opt/ngat/etc/cshrc
source $DEPLOY_BIN/class_setup
source $DEPLOY_BIN/osx_setup

if (-e /occ/oss/phase2.tmp) then
    /bin/rm -fv /occ/oss/phase2.tmp
endif

set JYD = "-Djydodb=/occ/oss"
set POLICY = "-Djava.security.policy=file:///occ/tmp/policy.dat"

java $JYD $POLICY ngat.oss.simulation.BasicPhase2ModelProvider --root LT_Phase2_001 --base /occ/oss >& ~/p2p.log &
